#-------------------------------------------------
#
# Project created by QtCreator 2016-11-08T16:36:07
#
#-------------------------------------------------
#DEFINES += BUILD_ARM
DEFINES += BUILD_X86_LINUX
#DEFINES += BUILD_X86_WINDOWS

QT += network
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TRANSLATIONS += proFileViewEnglishLan.ts

TARGET = programFileView
TEMPLATE = lib

DEFINES += PROGRAMFILEVIEW_LIBRARY

SOURCES += programfileview.cpp \
    newfileview.cpp \
    settingproperty.cpp \
    copysettingdialog.cpp \
    deletedialog.cpp

HEADERS += programfileview.h\
        programfileview_global.h \
    newfileview.h \
    settingproperty.h \
    copysettingdialog.h \
    deletedialog.h

INCLUDEPATH += ../CommunicateDelegate
INCLUDEPATH += ../ProgramSet
INCLUDEPATH += ../ProgramLanguageTranslate
INCLUDEPATH += ../../include/MacroDefine


unix {
    target.path = /usr/lib
    INSTALLS += target
}

FORMS += \
    programfileview.ui \
    newfileview.ui \
    settingproperty.ui \
    copysettingdialog.ui \
    deletedialog.ui

contains( DEFINES, BUILD_X86_WINDOWS ){
message("project use BUILD_X86_WINDOWS !")
DESTDIR = ../../lib/x86_WINDOWS

LIBS += -L../../lib/x86_WINDOWS -lHmiCommunicate
}

contains( DEFINES, BUILD_X86_LINUX ){
message("project use BUILD_X86_LINUX !")
DESTDIR = ../../lib/x86
}

contains( DEFINES, BUILD_ARM ){
message("project use BUILD_ARM !")
DESTDIR = ../../lib/arm
}



#编译目录
UI_DIR += ../../build/tmphmi
MOC_DIR += ../../build/tmphmi
OBJECTS_DIR += ../../build/tmphmi
RCC_DIR += ../../build/tmphmi
